package com.twentyOne.ClothingLand.service.impl;

import java.util.List;

import com.twentyOne.ClothingLand.dao.IBrandDAO;
import com.twentyOne.ClothingLand.dao.impl.BrandDAO;
import com.twentyOne.ClothingLand.service.IBrandService;
import com.twentyOne.ClothingLand.vo.Brand;

public class BrandService implements IBrandService {
	
	private IBrandDAO brandDAO = new BrandDAO();
	
	@Override
	public void addBrand(Brand brand) {
		
		this.brandDAO.addBrand(brand);
		
	}

	@Override
	public void deleteBrand(Brand brand) {
		
		this.brandDAO.deleteBrand(brand);
		
	}

	@Override
	public void modifyBrand(Brand brand) {
		
		this.brandDAO.modifyBrand(brand);
		
	}

	@Override
	public List<Brand> searchAllBrand() {
		
		return this.brandDAO.searchAllBrand();
		
	}

}
